<?php htmlTemplate('admin_header_frame.php');?>
<div class="title">区块分类<a  href="<?php echo MVC_WWW_HOST.'admin.php/admin/section/addcate/'?>" class="title_button">添加区块分类</a>
</div>
<table width="100%" cellspacing="1" cellpadding="3" id="listTable">
	<tr >
			<th align="left" style="font-weight: bold;color:#005EAC;">&nbsp;&nbsp;名称
			</th>
			<th>&nbsp;
			</th>
			
	</tr>
	<?php foreach ($cate['list'] as $key=>$value ):?>	
		
		<tr>
			<td>&nbsp;&nbsp;
			<?php echo $value['cname'];?>
			</td>
			<td align="right">
			
			<input type="button" value="修改" onclick="tourl('<?php echo MVC_WWW_HOST.'admin/section/catemodify/id/'.$value['id'];?>');">&nbsp;&nbsp;
			<input type="button" value="删除" onclick="getUrl('<?php echo MVC_WWW_HOST.'admin/section/catedel/id/'.$value['id'];?>',1,1)">&nbsp;&nbsp;
			</td>
		</tr>	
	<?php endforeach;?>
	<tr style="background:#f4fafb;">
			<td align="center" colspan="2">
			<?php echo $cate['html'];?>
			</td>
	</tr>
	</table>
